/**
 * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package it.apuliait.model;

import java.io.Serializable;

import java.util.ArrayList;
import java.util.List;

/**
 * This class is used by SOAP remote services.
 *
 * @author Donatello
 * @generated
 */
public class RiceventeSoap implements Serializable {
	public static RiceventeSoap toSoapModel(Ricevente model) {
		RiceventeSoap soapModel = new RiceventeSoap();

		soapModel.setRiceventeId(model.getRiceventeId());
		soapModel.setUserId(model.getUserId());
		soapModel.setCodiceIpa(model.getCodiceIpa());
		soapModel.setNomeRic(model.getNomeRic());
		soapModel.setCognomeRic(model.getCognomeRic());
		soapModel.setRagioneSocialeRic(model.getRagioneSocialeRic());
		soapModel.setCodFiscaleRic(model.getCodFiscaleRic());
		soapModel.setPIvaRic(model.getPIvaRic());
		soapModel.setNazioneRic(model.getNazioneRic());
		soapModel.setCodEoriRic(model.getCodEoriRic());
		soapModel.setIndirizzoSedeRic(model.getIndirizzoSedeRic());
		soapModel.setCivicoSedeRic(model.getCivicoSedeRic());
		soapModel.setCapSedeRic(model.getCapSedeRic());
		soapModel.setComuneSedeRic(model.getComuneSedeRic());
		soapModel.setProvinciaSedeRic(model.getProvinciaSedeRic());
		soapModel.setNazioneSedeRic(model.getNazioneSedeRic());

		return soapModel;
	}

	public static RiceventeSoap[] toSoapModels(Ricevente[] models) {
		RiceventeSoap[] soapModels = new RiceventeSoap[models.length];

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModel(models[i]);
		}

		return soapModels;
	}

	public static RiceventeSoap[][] toSoapModels(Ricevente[][] models) {
		RiceventeSoap[][] soapModels = null;

		if (models.length > 0) {
			soapModels = new RiceventeSoap[models.length][models[0].length];
		}
		else {
			soapModels = new RiceventeSoap[0][0];
		}

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModels(models[i]);
		}

		return soapModels;
	}

	public static RiceventeSoap[] toSoapModels(List<Ricevente> models) {
		List<RiceventeSoap> soapModels = new ArrayList<RiceventeSoap>(models.size());

		for (Ricevente model : models) {
			soapModels.add(toSoapModel(model));
		}

		return soapModels.toArray(new RiceventeSoap[soapModels.size()]);
	}

	public RiceventeSoap() {
	}

	public long getPrimaryKey() {
		return _riceventeId;
	}

	public void setPrimaryKey(long pk) {
		setRiceventeId(pk);
	}

	public long getRiceventeId() {
		return _riceventeId;
	}

	public void setRiceventeId(long riceventeId) {
		_riceventeId = riceventeId;
	}

	public long getUserId() {
		return _userId;
	}

	public void setUserId(long userId) {
		_userId = userId;
	}

	public String getCodiceIpa() {
		return _codiceIpa;
	}

	public void setCodiceIpa(String codiceIpa) {
		_codiceIpa = codiceIpa;
	}

	public String getNomeRic() {
		return _nomeRic;
	}

	public void setNomeRic(String nomeRic) {
		_nomeRic = nomeRic;
	}

	public String getCognomeRic() {
		return _cognomeRic;
	}

	public void setCognomeRic(String cognomeRic) {
		_cognomeRic = cognomeRic;
	}

	public String getRagioneSocialeRic() {
		return _ragioneSocialeRic;
	}

	public void setRagioneSocialeRic(String ragioneSocialeRic) {
		_ragioneSocialeRic = ragioneSocialeRic;
	}

	public String getCodFiscaleRic() {
		return _codFiscaleRic;
	}

	public void setCodFiscaleRic(String codFiscaleRic) {
		_codFiscaleRic = codFiscaleRic;
	}

	public String getPIvaRic() {
		return _pIvaRic;
	}

	public void setPIvaRic(String pIvaRic) {
		_pIvaRic = pIvaRic;
	}

	public String getNazioneRic() {
		return _nazioneRic;
	}

	public void setNazioneRic(String nazioneRic) {
		_nazioneRic = nazioneRic;
	}

	public String getCodEoriRic() {
		return _codEoriRic;
	}

	public void setCodEoriRic(String codEoriRic) {
		_codEoriRic = codEoriRic;
	}

	public String getIndirizzoSedeRic() {
		return _indirizzoSedeRic;
	}

	public void setIndirizzoSedeRic(String indirizzoSedeRic) {
		_indirizzoSedeRic = indirizzoSedeRic;
	}

	public String getCivicoSedeRic() {
		return _civicoSedeRic;
	}

	public void setCivicoSedeRic(String civicoSedeRic) {
		_civicoSedeRic = civicoSedeRic;
	}

	public String getCapSedeRic() {
		return _capSedeRic;
	}

	public void setCapSedeRic(String capSedeRic) {
		_capSedeRic = capSedeRic;
	}

	public String getComuneSedeRic() {
		return _comuneSedeRic;
	}

	public void setComuneSedeRic(String comuneSedeRic) {
		_comuneSedeRic = comuneSedeRic;
	}

	public String getProvinciaSedeRic() {
		return _provinciaSedeRic;
	}

	public void setProvinciaSedeRic(String provinciaSedeRic) {
		_provinciaSedeRic = provinciaSedeRic;
	}

	public String getNazioneSedeRic() {
		return _nazioneSedeRic;
	}

	public void setNazioneSedeRic(String nazioneSedeRic) {
		_nazioneSedeRic = nazioneSedeRic;
	}

	private long _riceventeId;
	private long _userId;
	private String _codiceIpa;
	private String _nomeRic;
	private String _cognomeRic;
	private String _ragioneSocialeRic;
	private String _codFiscaleRic;
	private String _pIvaRic;
	private String _nazioneRic;
	private String _codEoriRic;
	private String _indirizzoSedeRic;
	private String _civicoSedeRic;
	private String _capSedeRic;
	private String _comuneSedeRic;
	private String _provinciaSedeRic;
	private String _nazioneSedeRic;
}